using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rotempco.Core.ORM.Objects.Stores
{
    public class PagingStore
    {
        #region [ Singleton Constructor ]

        public static PagingStore Instance
        {
            get
            {
                return SingletonStore.Instance.GetInstance<PagingStore>(true);
            }
        }

        #endregion

        public bool PagingEnabled { get; set; }
        public PagingContainer PagingContainer { get; set; }
        public long NumberOfResults { get; set; }

        public void Clear()
        {
            SingletonStore.Instance.ClearStore<PagingStore>();
        }
    }
}
